﻿<UserControl x:Class="WpfImageDuplicates.WidthHeightControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:y="clr-namespace:WpfImageDuplicates"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <Grid Height="Auto" Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <StackPanel Orientation="Horizontal">
            <TextBlock VerticalAlignment="Center" FontSize="9" HorizontalAlignment="Left" Text="Width: "/>
            <TextBox x:Name="txtWidth" MinWidth="80" FontSize="9" />
            <TextBlock VerticalAlignment="Center" FontSize="9" HorizontalAlignment="Left" Text="Height: "/>
            <TextBox x:Name="txtHeight" MinWidth="80" FontSize="9" />
            <Button VerticalAlignment="Center" x:Name="btnChange" Content="Set" FontSize="9" Padding="2,1,2,1" Click="btnChange_Click" />
        </StackPanel>
    </Grid>
</UserControl>
